package com.yingxin.yxerp.module.print.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yingxin.yxerp.module.print.entity.PrintBusinessStat;
import com.yingxin.yxerp.module.print.vo.req.PrintBusinessStatQueryVo;
import com.yingxin.yxerp.module.print.vo.resp.PrintBusinessStatRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 打印biz统计 Mapper 接口
 * </p>
 *
 * @author fanchao
 * @since 2022-02-19
 */
public interface PrintBusinessStatMapper extends BaseMapper<PrintBusinessStat> {

    /**
     * 分页查询
     * @param page
     * @param queryObj
     * @return
     */
    IPage<PrintBusinessStatRespVo> pageVo(Page page, @Param("queryObj") PrintBusinessStatQueryVo queryObj);

    /**
     * 查询全部
     * @param queryObj
     * @return
     */
    List<PrintBusinessStatRespVo> listVo(@Param("queryObj") PrintBusinessStatQueryVo queryObj);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    PrintBusinessStatRespVo getVo(@Param("id") String id);



}
